Namespace Mapper

Types

Link copied to clipboard
struct key_name
Link copied to clipboard
enum option

Functions

Link copied to clipboard
function _add_attributes(instance: instance, instance_map: map<text, gtv?>, options: list<option>, attributes: map<text, gtv?>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit)
Link copied to clipboard
function _direct(instance_map: map<text, gtv?>, attributes_map: map<key_name, gtv?>, options: list<option>)
Link copied to clipboard
Link copied to clipboard
function _list(instance_map: map<text, gtv?>, attributes_map: map<key_name, gtv?>, options: list<option>, name: text)
Link copied to clipboard
function _map(instance_map: map<text, gtv?>, attributes_map: map<key_name, gtv?>, options: list<option>, name: text)
Link copied to clipboard
function _map_all_attributes(instance: instance, instance_map: map<text, gtv?>, options: list<option>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_attributes(instance: instance, instance_map: map<text, gtv?>, options: list<option>, attribute_names: list<I>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_attributes_by_meta_categories(instance: instance, instance_map: map<text, gtv?>, options: list<option>, categories: list<text>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_attributes_by_meta_tag(instance: instance, instance_map: map<text, gtv?>, options: list<option>, meta_tag: text, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_attributes_implementing_interface(instance: instance, instance_map: map<text, gtv?>, options: list<option>, children_mappers: list<(instance, map<text, gtv?>, list<option>) -> unit>, interfaces: list<dclass>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_attributes_of_interfaces(instance: instance, instance_map: map<text, gtv?>, options: list<option>, interfaces: list<dclass>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?)
Link copied to clipboard
function _map_if_instance(type: type, value: gtv, options: list<option>): gtv
Link copied to clipboard
function add_attributes(attributes: map<text, gtv?>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function decorate_with_meta_if_needed(I: I, value: gtv?, meta: list<meta>?, options: list<option>): gtv?
Link copied to clipboard
function direct(): (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit
Link copied to clipboard
function get_key_name(key_name: key_name): text
Link copied to clipboard
function get_value(instance: instance, attribute_name: I, options: list<option>): gtv?
Link copied to clipboard
function list_map_instance_elements(collection: (type: type, values: gtv)?, options: list<option>): gtv?
Link copied to clipboard
function map_all_attributes(mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_attributes(attribute_names: list<I>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_attributes_by_meta_categories(categories: list<text>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_attributes_by_meta_tag(meta_tag: text, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_attributes_implementing_interface(interfaces: list<dclass>, children_mappers: list<(instance, map<text, gtv?>, list<option>) -> unit>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_attributes_of_interfaces(interfaces: list<dclass>, mapper: (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit, meta: list<meta>?): (instance, map<text, gtv?>, list<option>) -> unit
Link copied to clipboard
function map_instance(instance: instance, mappers: list<(instance, map<text, gtv?>, list<option>) -> unit>, options: list<option>): map<text, gtv?>
Link copied to clipboard
function map_map_instance_elements(collection: ((K: type, V: type), values: map<gtv, gtv>)?, options: list<option>): gtv?
Link copied to clipboard
function remove_interfaces(instance_map: map<text, gtv?>, options: list<option>): map<text, gtv?>
Link copied to clipboard
function to_list(name: text): (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit
Link copied to clipboard
function to_map(name: text): (map<text, gtv?>, map<key_name, gtv?>, list<option>) -> unit
Link copied to clipboard
function with_meta(meta: list<meta>): list<meta>